package com.migo.service;

import com.migo.entity.PvMgFirmwareEntity;

import java.util.List;
import java.util.Map;

/**
 * MG10固件列表
 * 
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2021-01-29 11:31:29
 */
public interface PvMgFirmwareService {
	
	PvMgFirmwareEntity queryObject(Integer id);
	
	List<PvMgFirmwareEntity> queryList(Map<String, Object> map);

	List<PvMgFirmwareEntity> queryLastVersionList(Map<String, Object> map);

	PvMgFirmwareEntity queryFirmwareVersionByType(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(PvMgFirmwareEntity pvMgFirmware);
	
	void update(PvMgFirmwareEntity pvMgFirmware);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
